<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>起步</title>
</head>
<body>
    <div id="app">
        <h1>{{txt}}</h1>
    </div>   
    <script src="../vue.js"></script>
    <script>
        new Vue({
            el:'#app',
            data:{
                txt:'hello world'
            }
        })
        
    </script>
</body>
</html>